package cn.hxzy.service.impl;

import cn.hxzy.pojo.Reply;
import cn.hxzy.mapper.ReplyMapper;
import cn.hxzy.service.ReplyService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author songmengxin
 * @since 2021-08-03
 */
@Service
public class ReplyServiceImpl extends ServiceImpl<ReplyMapper, Reply> implements ReplyService {
    @Autowired
    private ReplyMapper replyMapper;
    @Override
    public List<Reply> getReplyBydisId(String disPsarId) {
        return replyMapper.getReplyBydisId(disPsarId);
    }

    @Override
    public List<Reply> getReplyByreplyId(Integer replyId,String disId) {
        return replyMapper.getReplyByreplyId(replyId,disId);
    }


}
